insanity , in order to excuse a person for crime must be of such a character as to deprive him of his reason , so as to render him incapable of distinguishing between right and wrong , or discerning good from evil .