McLoskey was elected as a Republican in Illinois's 19th District to the Eighty-eighth Congress (January 3, 1963 – January 3, 1965).[1]
He was an unsuccessful candidate for reelection to the Eighty-ninth Congress in 1964. He served as chairman of the Warren County, Illinois, planning commission from 1969 to 1972.
He died on November 2, 1990, in Monmouth, Illinois.[1] His remains were cremated.