I believe that mental illness can be caused by damage to the brain and nervous system. My psychiatrist practices 'neuralpsychiatry' and his clinic includes patients with brain injuries. He deals with clients who have birth injuries like CP to those having traumatic damage.
An acquaintance who suffered a horrible injury to his head has bipolar.