Not true, France had this on the train to the Netherlands (Thalys) after some crazy attacked some passengers in that train. They also added electronic gates to most high speed trains in many large stations.
Notice how these inefficient processes create large, compact lines of passengers, which would made the casualties much worse in case of an actual bomb.