demented

adjectives

affected with madness or insanity
"a man who had gone mad"
is derived from