BNS § 22 / IPC § 84
India's statutory insanity defence: nothing is an offence done by a person who, by reason of unsoundness of mind at the time of the act, is incapable of knowing the nature of the act, or that the act was wrong or contrary to law. The burden of proving unsoundness of mind lies on the accused on the balance of probabilities. Interpreted through the M'Naghten cognitive test in practice.