You join Mensa if your IQ is a large part of your identity. Individuals who have a high IQ but also have a lot of other things going on in their lives (like career success or fulfilling personal relationships) tend to concentrate on those things rather than join Mensa. Therefore, membership in Mensa tends to overselect for individuals whose self-conception is both narrow and focused on their intelligence. There's a lot of other evidence in psychology that a narrow self-conception correlates highly with mood & anxiety disorders. You can also get correlations with physical ailments like environmental allergies and asthma as well, because someone who doesn't have these physical ailments is more able to get outside or pick up sports rather than go to meetings of a high-IQ society.
So the way they designed their experiment, they introduced tons of conflating factors that may or may not actually have anything to do with IQ. It's certainly possible that high IQs are associated with mental and physical disorders - but what the experiment shows is that membership in Mensa is associated with mental and physical disorders.
IQ predicts health and longevity.
https://journals.sagepub.com/doi/abs/10.1111/j.0963-7214.200...
Intelligence Predicts Health and Longevity, but Why? Linda S. Gottfredson1, Ian J. Deary
Low iq is a risk factor for several mental health disorders.
https://ajp.psychiatryonline.org/doi/abs/10.1176/appi.ajp.20...
> Results: Lower childhood IQ was associated with increased risk of developing schizophrenia spectrum disorder, adult depression, and adult anxiety. Lower childhood IQ was also associated with greater comorbidity and with persistence of depression; the association with persistence of generalized anxiety disorder was nearly significant. Higher childhood IQ predicted increased risk of adult mania.
Childhood IQ and adult mental disorders: a test of the cognitive reserve hypothesis
Karestan C Koenen
In a population that got carefully selected traits for high IQ, these tradeoffs could over time be understood and the effects minimized.
https://www.scientificamerican.com/article/bad-news-for-the-...