ZDoom, and engines derived from ZDoom, are not free software.
License: http://zdoom.org/wiki/LicenseThere are several different licenses governing ZDoom source code, but a few of them (notably the Build license and the original Doom license) are not free licenses.
I'm not sure what the best free Doom engine around is. Maybe Odamex?