This is not a medical blog, but medicine and the law interact extensively when it comes to determining (or challenging) a person’s legal capacity.  To prove lack of capacity requires evidence of a mental defect, such as dementia or Alzheimer’s disease.  Alzheimer’s also plays a role in proving a weakness of mind—required for undue influence.