Are referred people who never sign in deleted?

Only if you choose. In Settings → Referral policy, the Unclaimed referrals card has a switch, Delete a referred person's details if they don't claim their application, off to start with, and the number of days, from 30 to 365. Admins, HR and leadership can change it, and each change is kept in the audit log.

While it's on, the welcome email tells each person referred how many days they have to claim their application by signing in. Someone who never does, and whom nobody at your company has worked on (no interview, note, screening or later stage), is deleted when their days run out; the referral stays with their name blanked, so the referrer's history is right. Each person keeps the days their own email gave them, even if you change the setting later, and switching it off doesn't take back a number already given. If the card says Practice mode, nothing is deleted yet, and Settings → Audit log shows who would have been.

Still stuck? Write to hello@1936ai.com and a person will answer.