The number 1 determinant of which school one can attend, is finances.
There are many super smart, academically inclined kids who could easily fit in at a school perceived to be “academically elite” but can’t, because of the cost. I have met several such, through my 2 decades of hiring experience.