What is to allege or prove to be of unsound mind, so that the performance of some act may be avoided called?

stultify — (Law) To allege or prove to be of unsound mind, so that the performance of some act may be avoided. (Webster's 1913.)

Sources