To check an object with other instances of the same object, use a family.
To check neighboring positions, use the overlapping at offset.
To check multiple positions, right click the event to change it into an or block.
Alternatively, you can use the system condition pick overlapping point to check the 4 neighboring positions, then check if pickedcount is < 5, including the center object.