The man who stabbed and killed another man with a ‘samurai sword’ had pleaded not guilty by reason of insanity.