IIT is pseudo-meritocratic.
It's a very rigorous exam and the person who can spend their whole high school time studying phy, Chem and maths and who can spend the most money joining the best coaching institutions and best mentors bacially get the admission. Doesn't matter if someone has an IQ of 200 or India's best football player or coding genius unless they get the highest marks in physics chemistry in maths they aren't allowed. It's technically meritocratic but it is a really flawed system that rewards rigorous practice over skill, interest and other aspects of a student.