How to check if index of an array is empty ?

if(Array[x, y]==0){

if(Array[x, y]==null){

these both don’t work, and I specifically need to check if this index is null, and also filling them with new gameobjects doesnt do it.
Theres nothing helpful I found on google

if (Array[x, y] == null) { Debug.Log(" Empty at x , y "); } No Object At x , y

if (Array.Length == 0) { Debug.Log(" Array is 0 "); } The Array index is 0 = Empty

Tell me if that helped.
Greetings

So say you have index ‘i’ that you want to search

add 1 to i when checking the count because the length will start with the number 1 for the first item while the index starts at the number 0.

if (Array.Length < i+1 ||Array *== null)*

{
Debug.Log(“Index of array is empty”);
}