demented (adj.)
1640s, from obsolete dement "drive mad."