Ill. Admin. Code tit. 95, § 400.640
b) Visual Examination of the Body
2) Involuntary
A) An involuntary display of the unclothed body, including a visual examination of body cavities, may be required only if conducted in reasonable fashion and authorized under one or more of:
c) Intrusion Into Body Cavities. A reasonable nonconsensual physical intrusion into the mouth, nose and ears may be made when a visual examination of the body under subsection (b) is permissible. Nonconsensual intrusions into other body cavities may be made: