Actually it is a Federal felony under 18 US Code section 594.
https://www.law.cornell.edu/uscode/text/18/594