General provision
SECTION II
CRIME
CHAPTER 4
PERSONS SUBJECTED TO CRIMINAL LIABILITY
Article 22. Criminal liability of persons with the mental frustration which is not excluding legal responsibilities
22.1. The person with legal responsibility, who at the time of committing a crime by virtue of mental frustration could not fully realize actual nature and public danger of the acts (action or inaction) or to supervise them, shall be subjected to the criminal liability.
22.2. The mental frustration, which is not excluding responsibilities, shall be taken into account by court at assignment of punishment and can form the basis for purpose of the medical nature forced measures provided by the present Code.
Incapacity - national proceedings
Insanity - national proceedings
Mental disease or defect - national proceedings
EDIT.