immoral, no. Unethical, yes.
That said, I'm glad libraries of all kinds (lending, little free, bookstore giveaways) help give more ethical access to such resources. You don't need the latest and greatest textbook to obtain knowledge.
With all that said, were talking about deluxe media, not foundational knowledge. why does the topic always shift to hyperole when talking about a song/movie/game being pirated? Are we really comparing pirating The Avengers (2012) to finding a way to learn arithmetic?