I think there’s a lot of “mentally ill” people who understand some aspect of the world better than the average person, but who are distressed by not sharing a common myth or who lack the shared culture to meaningfully share their experience. Unfortunately, that inability to integrate leads to ongoing damage, isolation, and co-morbid conditions.
This is where I put on my speculation hat, but — I think certain disorders are caused by the inability to resolve the tension caused by living a lie to maintain a social myth, inability to integrate socially taboo knowledge into a persona acceptable to others and being unwilling to lie, or being unable to articulate an insight and subsequently being pushed out of social interactions for being incoherent.