In D&D terms, Intelligence, life, independent thought have nothing to do with each other.
-Undead can be intelligent or not, not-alive (hence undead category) and capable of independent thought or not. Some can be capable of independent thought, but have a very low Intelligence score...