I’d take most DNA ethnicity analysis with a pinch of salt. Mostly harmless entertainment, and about as accurate as a horoscope.
DNA testing seems to assume that people never moved which is just nonsense. There has been so much internal migration around the British Isles in the past 4000 years as to make a DNA breakdown between Irish, Welsh, Scots, English etc pretty meaningless. Most of the population all share a common Brythonic origin ie they are descended from people who migrated north through France as the last ice age retreated. When they got to Britain they swarmed around everywhere. Some moved north to Scotland, some west to Wales. And many continued to move after that for military, economic and cultural reasons. Though southern England has been inhabited for 400,000 years, Ireland has only been inhabited for about 8000 years. Many of its early settlers came from Britain. Then many Irish moved to Scotland, notably around 495AD when the kingdom of Dalriada was established by the Scotiae tribe from Co. Antrim, who gave Scotland it’s name, and who ruled Scotland and part of Ulster. So Scotland is named after an invading Irish tribe who came in sufficiently large numbers to be able to rename the country and to introduce their own language, ie gaelic. In the 1600s, 100,000 Scots and a similar number of English and Welsh moved to Ireland as a part of the Plantation of Ireland and also because of a severe famine in Scotland in the late 1600s. From the 1800s they were moving back from Ireland to Britain in hundreds of thousands because the employment prospects were better there. Therefore the idea of the Irish and the Welsh, Scots & English being distinct ethnic groups for DNA purposes is probably just daft. (DNA is good for lots of other aspects of ancestry though).
You can use this site to see where surnames were most prevalent in Ireland in the mid 1800s:
https://www.johngrenham.com/surnames/
There were no Lealy households at all. It may be a corruption of Leahy, which you have suggested. Leahy is mostly found south of a line drawn across the middle of Ireland from Galway to Dublin, so you are probably correct in assuming your ancestor came from what is now the Republic of Ireland rather than Northern Ireland.
I looked in the 1901 Irish census. There were 29 Lealy in it. That was about 7 households, two of which were Church of Ireland and the rest RC. So the name does exist but it is clearly very rare. Leahy on the other hand is much more common with 3978 in the same census.
http://www.census.nationalarchives.ie/search/