First find the type of the function you need.
To “Check if” means to return either True or False, a Bool.
So the function takes an Int, a list of Int (aka [Int]) and returns Bool:
Int -> [Int] -> Bool
Now ask hoogle.
elem :: Eq a => a -> [a] -> Bool
Hoogle is a very useful tool. You can integrate it with ghci.