In the state of Oregon it is illegal for felons to hunt using firearms unless they commited their crime by reason of insanity .