With today’s visionOS 1.1 beta, there appears to be a new hardware-based option to reset the Vision Pro, allowing the device to be wiped and set up fresh should the user forget their passcode.
As of right now, there is no way to reset a Vision Pro outside of the Settings app, and the Settings app is inaccessible if you happen to forget your passcode. That means anyone that fails to remember their passcode will need to bring their Vision Pro in to Apple to have it wiped.
According to 9to5Mac, there is code in the visionOS 1.1 beta that allows the Vision Pro to be erased without the need to bring it to an Apple retail location.