How to handle different bools in 1 statement

In different trigger i set variables to true or false. If the trigger is not hitting any, the unit should move.

In the update i want to test if those variables are false and move if so.

if(!in_range)
		{
			move();
		}

works so far.
But.

if(!in_range || !green_in_range)
    		{
    			move();
    		}

does not.

void move()
	{
		current_speed = speed;
		transform.Translate (Vector3.right * current_speed);
	}

The unit keeps moving.
I wonder why. Am i using the wrong Operator?
Thanks in advance.

We can’t see how you set up your booleans. Are your trying to check OR (||) or AND (&&)? Try this with debugs.

if(!in_range){
    Debug.Log("in_range");
    if(!green_in_range){
        Debug.Log("green_in_range");
        move();
    }
}