willstuff,
I don't think the problem is an waterlogged soil. In the pictures your soil looks fine. That reaction is probably the shock of being moved to your location from a sheltered? nursery and/or not liking the soil chemistry very much. With such a big tree and with all the fruit it has, it simply couldn't cope with all the changes and its trying to survive. It's always better to buy them when their are dormant, without leaves.
It will probably let most, if not all, the leaves and fruits fall, but it won't dye. Next spring, if not sooner, it will be more adapted and should produce new leaves and figs. Unless you are in a very cold region, where the tree can freeze in the winter, i wouldn't worry.
Regarding clay soils i have some experience. See where i have to grow my fruit trees. If i had 3 days of heavy rains the new holes would be completely filled with water, even with the side trenches, several days after the rains:
Part of the solution, in this case, is to elevate the trees and dig side trenches and most will adapt after some years, although some types of fruit trees, that don't like to have their feet wet, never do.