That can vary by the precise wording of state law and cases interpreting it, so I would be hesitant to generalize. I much prefer a "no trespassing" sign, and/or as tall a fence as you can get by with under local zoning, with LOCKED gates. Ruthlessly call LE every time anyone attempts to enter, gets to your doorbell, etc.
Make sure there is a solid record of not welcoming anyone who was not invited previously, because then you can show you already know that someone doing so is a criminal and per se non-compliant and likely a threat. Anyone who comes to your home uninvited should feel very unwelcome - if they don't, you need to revisit your choices. Before the fences were in, I made darned sure that anyone who came to the house uninvited was really unhappy and uncomfortable. (You at the door: hands in the air, palms toward me. Back away from the door, now. The police have been called." Often there were words sprinkled in there which would get attention from our mods ... )They have no protectable interest in a warm fuzzy feeling - if they need one I'll take off my shirt and they can rub my back.