Usually, yes — if the game is pirated, downloading it is copyright infringement in most jurisdictions. That covers the large majority of "free full game" downloads you'll stumble across.
But not everything free is illegal. Plenty of developers release games at no cost deliberately: freeware titles, open-source projects, demos, and giveaways run through legitimate storefronts are all entirely above board. The distinguishing factor is whether the copyright holder authorised the distribution.
So the legality depends on where the file came from. Sticking to official stores, developer sites, and known free-game platforms removes the guesswork.