it is inconceivable that the man who was incapable of judging between right and wrong , of knowing whether an act were good or bad , ought to be made accountable for his actions ; such a man has not that within him which forms the foundation of accountability , either from a moral or a legal point of view .