dementedness

n.
  1. mental deterioration of organic or functional origin.