Yes. Railroad tracks are private property. It is against the law to walk on railroad tracks, and violators can be arrested for trespassing. Apart from the designated grade crossing, no one should walk on tracks except railroad personnel and persons who have been granted permission from the railroad administration to do so. Anyone else on the track or grounds of the railroad is trespassing. Not only is trespassing illegal, but it is also dangerous for the violators' safety and can cause lasting damage to railroad property.