The main purpose of this legislative text is to strengthen the United States' immigration policies by denying entry to individuals who are subject to specific sanctions. These sanctions are outlined in Executive Order 13876, which relates to actions against Iran. The goal is to enhance national security by preventing individuals associated with certain sanctioned activities from entering the country.