Have you checked borgbackup docs, FAQ, and open Github issues?
Yes
Is this a BUG / ISSUE report or a QUESTION?
ISSUE
System information. For client/server mode post info for both machines.
Your borg version (borg -V).
Operating system (distribution) and version.
Arch Linux
Hardware / network configuration, and filesystems used.
EXT4
Full borg commandline that lead to the problem (leave away excludes and passwords)
borg ... --dry-run ... --exclude-if-present .nobackup --keep-exclude-tags ...
Describe the problem you're observing.
The .nobackup file is not present in the list of output files to be backed up.