Spudqueen - sounds puzzling but yes it's true. If you fly from Dublin (or Shannon) to the USA there is a US immigration post at the airport. You clear immigration there and only have customs to worry about when you arrive in the US.
Nice cushy posting for the staff I would think.
Something similar exists at major Canadian and Caribbean airports.