About 1,000 New York City high school students walked out of class Friday and rallied near City Hall to protest a plan to eliminate their free transit passes.