Two United Airlines pilots were arrested on suspicion of being under the influence of alcohol in Scotland on Saturday as they were about to fly to the United States, police and the airline said.