Yes
I just want to add something to the answers that I feel is being missed, and ought to be emphasised more.
The text of the Nondetection spell again, with spacing added:
For the duration, you hide a target that you touch from divination magic.
The target can be a willing creature or a place or an object no larger than 10 feet in any dimension.
The target can't be targeted by any divination magic or perceived through magical scrying sensors.
For the duration, you hide a target that you touch from divination magic.
The target can be a willing creature or a place or an object no larger than 10 feet in any dimension.
The target can't be targeted by any divination magic or perceived through magical scrying sensors.
People on both sides seem to focus on the 3rd sentence "you can't be targeted by any divination magic" and then some invoke the rules on what defines a target of a spell, and others say "that can't be all there is to it, because then Nondetection hardly covers anything."
But the 1st sentence is also part of the spell's description. The recipient of the Nondetection spell is hidden from divination magic. Although maybe that's a little harder to interpret in terms of game mechanics because "hidden from (some effect)" is not a clearly defined term, but it is still the intent of the spell, and it is exactly the part of the spell description that Jeremy Crawford quotes in his rulings https://www.sageadvice.eu/does-nondetection-plus-invisibility-beat-true-seeing/here and https://www.sageadvice.eu/does-nondetection-spell-hide-you-from-a-monsters-truesight/here.