Someone in my neighborhood has a cat that likes to use my flowerbed as its litter-box. I don’t know who’s cat it is, but more than once I’ve threatened that if I catch it, I’ll sell it to the local Chinese restaurant.
Mothballs and flaked peppers did the trick in my beds.
The neighbor a couple of doors down claimed that my cat was doing the same in her landscaping mulch. She said she saw it on camera, and raced out to stop it, slipped in cat crap on her porch, and went flying into her front yard. She lost me at cat crap on the front porch. I’d like to have seen that, though. She’s s real lawn Nazi...set up ultrasonic beepers to scare cats and birds out of the yard, topped the fences with spikey things....
Throw some mothballs in your flowerbed