the ! applies to the parenthetical phrase following it. so it effectively becomes !(true && (!(false || true)))