Such a mental condition, as, either from the existence of
   delusions, or from incapacity to distinguish between right and wrong,
   with regard to any matter under action, does away with individual
   responsibility.