I, too, have Ryalls that came to NY from Ireland, county Tipperary. James and Margaret Ryall came to the US in 1853 and 1851, respectively (Margaret came first, leaving her family behind. The rest followed). They had seven children- John, James, Elizabeth, Mary Ann, Thomas, Edward, and Margaret. Elizabeth and Mary Ann stayed in Ireland for some reason and passed away as children.
I don't think we have the same Thomas. Most the family stayed in the Albany and Lloyd areas. Also, as far as I can tell, Thomas passed away before 1895. He was born in 1850.
If there is any connection, it might come from James, Sr. He had three brothers. George ended up in Australia. According to an article I came across, his two other brothers, Michael and John, came to the US. I'm not sure where they ended up. George, the one in Australia, had a son named Thomas. Maybe one of the other brothers that came to the US also had a son Thomas. Thomas and John are common names. If any of this sounds familiar, please let me know.
Back to the original James and Margaret: their two sons, James and John, fought in the Civil War. Both were wounded. John fought at Gettysburg, and James (my 3rd great grandfather) was mustered out a captain.
Good luck. Maybe our Ryalls intertwine somehow-