Corrections Act 2004, s 92
An X-ray search is a search of a fully or partly clothed person using an X-ray machine that’s designed to identify hidden items. You can be asked to take off some outer clothing when you have an X-ray search.