The communist movement has had the 'class struggle' as a core tenant of their ideology -- the song has no such mention.
The song does talk about a post-ownership, post-authoritarian world. It sounds more anarchistic than communist?
Toss in a verse about "Imagine we killed all of the exploiters, who take our labor and keep the means of production away from us", and it would be communist.