Non-topological minimax theorem