Need help with .inArray.

Need help with .inArray.

Hi, 

I am trying to use .inArray to compare if a given value is in the array.

Code:
var init = function(seat){
    var seatCheck = 101;

    if ($.inArray(seatCheck, seat) !== -1)
    {
        alert("match found");
    }

}

var bookseat = [101,102,103,104];
init(bookseat);

Even though the value is present in the array, it does not find the match and returns -1.
Can anyone please let me know what I am doing wrong.

Thanks.