Act of a person of unsound mind is defined under section 84 of ipc. Provisions under IPC section 84 explained here:
What is Section 84 IPC:
Nothing is an offence which is done by a person who, at the time of doing it, by reason of unsoundness of mind, is incapable of knowing the nature of the act, or that he is doing what is either wrong or contrary to law.
Section 84 IPC Explanation:
This section means if an act is done by a person of unsound mind, who is not able to understand the nature and consequence of his act will not be liable for the offence. For eg- Bunty is 30 year male of unsound mind who injured Shayam with a knife, he won’t be liable under this code due to his reason being insane.
Read Complete Indian Penal Code (IPC) in a Proper way
Free Download IPC Bare Act 1860 PDF eBook