Mexico City wins. 2020 census figures:
NYC feels larger due to density (29,000/mi² vs. CDMX 16,000/mi²), global media dominance, and vertical geography. But CDMX proper has held the city-proper lead since ~1990.
Definitions matter: "City proper" administrative boundaries vs. urban agglomeration. By any metric, both are hemispheric giants.