Logical Operation check