Man found not guilty due to insanity for sword attack, robbery