Is Ginga Tetsudou no Yoru hentai?
English title: Night on the Galactic Railroad
No
Rated G (All Ages) on MyAnimeList and not tagged as Hentai.

Movie · 1985 · 1 episodes · G - All Ages
Anthropomorphic, Award Winning, Drama, Fantasy, Kids, Mystery, Psychological
Giovanni is a young boy who lives on the outskirts of a small rustic village. His mother is bedridden and his father has not returned home since leaving to work on a fishing boat. An outcast at school, Giovanni has only one friend: Campanella, the mayor's son. During the town's Festival of Stars, Giovanni starts to daydream atop a hill and looks up to find a steam engine train floating in the air. He boards the train only to find his friend Campanella already there. And so, the two begin their journey through the stars where they come across unusual people and visit many beautiful and haunting places. [Written by MAL Rewrite]
View on MyAnimeList