I think I this was a novel, but it is possible it was a short story. I read it in the 80s.
There is a future, technological society. Almost every family has their own private aeroplane, they are analogous to cars in our society.
When a baby is born, the child's father takes them for a test. They must cling to the wings outside his aeroplane as he flies. If they lose their grip, they fall to their death. The idea is that only strong healthy babies are desirable.
An educated man is explaining why he does not like this custom of testing newborns thus. He says that while the practice does get rid of weak or sickly infants, of the healthy ones, those with the more primitive hand grasping genes are more likely to survive. He says these babies are likely to be of below average intelligence.