Generally, a citizen of the overseas place who wishes to enter the United States will have to 1st get a visa, either a nonimmigrant visa for non permanent keep, or an immigrant visa for permanent home. Crewmember (D) visas are nonimmigrant visas for individuals working on board commercial sea vessels https://www.republicimmigration.com/portugal-d1-visa/