A man who allegedly hacked a 6-year-old Thousand Oaks boy to death with a meat cleaver as his mother and terrified neighbors fought to save him has changed his plea to not guilty by reason of insanity .