Ah, on the Mac it seems to be in Books->Settings->General: “Sync collections, bookmarks and highlights across devices”.
On iOS there seem to be a setting in both iCloud and inside the books settings, to be honest I don’t know how they interact. I have both enabled.
With regards to iCloud Drive and Desktop & Documents you can disable those: