non compos mentis

adj
Graduate
1

Insane; not of sound mind; not in control of oneself.