There are multiple definitions - click on the translation that matches your context.

失去理智的

形容词

full

demented

adjective

Definitions of demented

English

acting strange or crazy; mentally incompetent

In her demented mind, the actions seemed completely normal.