I want to check if my array is empty or null, and on base of which I want to create a condition for example.
if(array == EMPTY){ //do something }
null and empty are not the same things , i suggest you treat them in differently
if (array == [NSNull null]) { NSLog(@"It's null"); } else if (array == nil || [array count] == 0) { NSLog(@"It's empty"); }