Ariz. Rev. Stat. § 13-1419
A. A person commits unlawful sexual conduct by intentionally or knowingly engaging in any act of a sexual nature with an offender who is in the custody of the state department of corrections, the department of juvenile corrections, a private prison facility, a juvenile detention facility or a city or county jail or with an offender who is under the supervision of either department or a city or county. For the purposes of this subsection, "person" means a person who:
D. For the purposes of this section, "any act of a sexual nature":
1. Includes the following:
(c) Any act of photographing, videotaping, filming, digitally recording or otherwise viewing, with or without a device, a prisoner or offender with the intent to arouse or gratify sexual desire, either: