The main purpose of this legislation is to create a pilot program for U.S. Customs and Border Protection (CBP) to test the use of artificial intelligence (AI) in detecting anomalies at land ports of entry along the Arizona border. The goal is to enhance the efficiency and effectiveness of screening for illegal drugs and contraband. Key provisions of the legislation include the requirement for the CBP to implement an anomaly detection algorithm within two years of the law's enactment. This algorithm aims to assist CBP officers in improving inspections and interdictions of illicit items.