Уголовный кодекс Российской Федерации
A forensic psychiatric examination is used to establish insanity. The result of the forensic examination is then subjected to a legal assessment, taking into account other circumstances of the case, from which a conclusion is drawn about the defendants sanity or insanity. The Criminal Code of Russia establishes that a person who during the commission of an illegal act was in a state of insanity, that is, could not be aware of the actual nature and social danger of their actions or was unable to control their actions due to a chronic mental disorder, a temporary mental disorder, or dementia is not subject to criminal liability.