A person is not criminally responsible if at the time of the act, because of a psychotic or similar serious mental disorder, or because of a profound interruption of consciousness or because of feeblemindedness or any other type of serious mental abnormality, he is incapable of understanding the wrongfulness of his conduct or of acting in accordance with this understanding.