In real life myth, Ys is a sunken location sort of like Atlantis. In the games, the name is used for an in-game location, in the same way the Final Fantasy series uses names like Shiva and Gilgamesh for in-game characters. The games aren't about the real-world Ys myth itself.