In In the Midst of Alarms (1894) by Robert Barr, a man, who had gone to camp in the woods of Canada, was talking about his longness to New York, then he persuaded himself that the camp is a good place, saying:
“Ah, well,” said Yates under his breath, and suddenly pulling himself together, “I mustn’t think of New York if I intend to stay here for a couple of weeks. I’ll be city-sick the first thing I know, and then I’ll make a break for the metropolis. This will never do. The air here is enchanting, it fills a man with new life. This is the spot for me, and I’ll stick to it till I’m right again. Hang New York! But I mustn’t think of Broadway or I’m done for.”
He came to the spot in the road where he could see the white side of the tent under the dark trees, and climbed up on the rail fence, sitting there for a few moments. The occasional call of a quail from a neighboring field was the only sound that broke the intense stillness. The warm smell of spring was in the air. The buds had but recently broken, and the woods, intensely green, had a look of newness and freshness that was comforting to the eye and grateful to the other senses. The world seemed to be but lately made. The young man breathed deeply of the vivifying air, and said: “No, there’s nothing the matter with this place, Dick. New York’s a fool to it.” Then, with a sigh, he added: “If I can stand it for two weeks. I wonder how the boys are getting on without me.”
Is "there’s nothing the matter with this place" is the main clause of "if", but they are separated by "New York’s a fool to it", so what does "a fool to it" mean here?
The possible meanings of "a fool to it"