I have the firm belief that Los Angeles is actually the largest city by population in the USA (as opposed to NYC). Due to an accident of history, what people colloquially call "LA" is still divided politically into something like 80 independent cities. New York City consolidated into the five boroughs in the late 19th century, prior to that Queens, Brooklyn, etc. were separate cities. If you look at the city borders of official Los Angeles, it's a complex mapping of the spaces around and in-between the various independent cities.
In most of the US, unincorporated land is extremely rural. In LA, "unincorporated" land blends seamlessly into the urban landscape. Often if you're in an unfamiliar area you can't tell what "city" you're in without looking at the street signs.
While not 100% of LA county residents can be counted as living in "LA", it's a close-enough approximation. ~10 million vs NYC's 8 million.