Risk factors for mental illness include diagnosed, but untreated unruptured intracranial aneurysms, especially among younger vs older individuals.