find index of 2 dimensional array in javascript

I want to get the index of a array which contains a specific item

this is my code:

const array1 = [
  [5, 2, 1],
  [12, 12, 12],
  [8],
  [130],
  [44]
];


console.log(array1.findIndex((item) => {
  typeof item.find((it) => {
    return it == 5
  }) !== 'undefined';
}));

i tried this to get the index of the array which contains a specific element but i always get index -1.