In New York State prisons, inmates are pat frisked on the way into a contact visit, and strip frisked on the way out. Here's a link to the State Directive #4910 that covers Control of & Search for Contraband dated 6/28/19.
Directive #4910
Visit Searches begins on Page 15.