Hundreds of passengers are taken into detention each year from domestic trains and buses along the nation’s northern border.