The answer flips depending on whether you compare city proper or metropolitan areas.
London slightly larger by population; nearly 2x larger by area.
New York metro is ~40% larger in population and 4x larger in area.
NYC's administrative boundaries (five boroughs consolidated 1898) capture most of its urban core. London's (Greater London, 1965) exclude vast contiguous suburbs in Essex, Hertfordshire, Surrey, Kent—making its "city proper" artificially expansive while its metro is constrained by green belt policy.
Both are alpha++ world cities (GaWC)—top-tier global command centers. New York leads in finance, media, UN presence; London in time-zone advantaged finance, legal services, cultural institutions. Neither "wins" absolutely.