Use NSPredicate for seraching object in NSMutableArray if not present then add it to NSMutableArray. Try this.
NSArray * filtered = [array filteredArrayUsingPredicate:[NSPredicate predicateWithFormat:@"name = %@", @"MyObject.name"]];
if(![array count])
[array addObject:MyObject ];