Logical not (!) and NVRAM (EEPROM)

If you don't initialize a fresh EEPROM before trying to read it then not only booleans will fail. A C string will also fail because the null terminator is missing.

Your post is similar to this: Logical not behaving strangely with bool variable values containing other than 0 or 1