non compos mentis
adjective
°Insane; not of sound mind; not in control of one's self.