That skill doesn't necessarily have to involve academic aptitude, though; for example, you play as Makoto Naegi, who got accepted by winning a lottery, making him the Ultimate Lucky Student.
The process for deciding which students get assigned to gifted - and - talented classrooms varies by state and school district, but generally involves some sort of academicaptitude test.