How to check if a vector 3 is in a vector 3 array c#.

Here is the relevant code. I want to check if the current spawn location is in the last spawns array. Thank you for your help.

        //Generate Level
        while(cubeSpawns != 100)
        {
            currentSpawnLocation = new Vector3(Random.Range(-5, 5), Random.Range(-5, 5), Random.Range(-5, 5));
            if (currentSpawnLocation != lastSpawns)
            {
                GameObject cubeClone = (GameObject)Instantiate(Cubes[Random.Range(0,Cubes.Length)], transform.position + currentSpawnLocation, Quaternion.identity);
                currentSpawnLocation = lastSpawns[cubeSpawns];
                cubeClone.transform.parent = CubeClones;
                cubeSpawns = cubeSpawns + 1;
            }
        }

if (!lastSpawns.Contains(currentSpawnLocation)) {

}

You might have to add using System.Linq; to the top of your script.