When trying to test for spectral arrows using command blocks I found that they do not have a proper entity name.
When using /say @e with just me and the arrow in the world it displays - My username and entity.SpectralArrow.name
I tried a scoreboard command with @e[type=entity.SpectralArrow.name] but it found nothing.
It's
spectral_arrow
.