Array element coming as not null

i’m trying to make an inventory system using an array of gameobjects, and i’m using a bool to keep track if the inventory is full or not, but the “if [2] !=” always comes as true, even though the space is null.
this is my code, idk what to do

void Update()
{
	if (sylladex [2] != null) {
		isFull = true;
	} else {
		isFull = false;
	}
     }

Try doing Debug.Log(sylladex[2]) to see what is containing.

Ah also
it seems that if i pick stuff up until there is something on [2], and drop it, it now recognizes that [2] != null