The two places are close and could be two different records of the same event.
Thank you.
In William's will he mentions daughter Nancy Barkley. She was born about 1788 in Perry County, PA.
Miss Nancy Barkley, age 65, born in Perry County, PA
died 11 November 1853, in Saville Twp, Perry County, PA
parents: William Barkley and Martha Barkley
unmarried, no living issue
buried: Stone Church [Burial Ground?]
source: Ancestry.com. Pennsylvania, U.S., Deaths, 1852-1854
and
the next child after Margaret, William, was born 1794 in Pennsylvania. So it doesn't look like the family was in Scotland for the birth of their
second child [Margaret]
edited: at this point we don't know when Margaret Barclay, wife of Jonathan English, was born.