处理作为异常的部分时的PHP IF构造

I'm having some trouble getting my code to work. And I lost my overview. Who can give me some insight?

I'm looking for how to build an IF construct.

If I would describe the IF construct in words:

MismatchBundle = true  unless  (adminPass = true & user = admin)

I wrote the following code, but this didn't seem to work:

if (($MismatchBundle == true)  &&  ($adminPass != true && $thisUser['rankid'] != 1)

Anyone who knows how to get the 'unless' part in the code?

What about this?

 if (($MismatchBundle == true)  &&  !($adminPass == true && $thisUser['rankid'] == 1)

Is this allowed with the ! before a () section?

if (($MismatchBundle == true)  &&  !($adminPass == true && $thisUser['rankid'] == 1)

Using ! on the entire section within ( ) worked as intended.