Cruise lines use a variety of methods to search for illegal drugs including x-rays, metal detectors, scanners and sniffer dogs. That said, the security team's main priority isn't to look for drugs, as they have other things to be concerned with. Cruise ship security teams are mostly searching for alcohol and weapons.