| is often called "pipe" - it appears as a single line on screen but a broken line on the keyboard. On a UK keyboard it is SHIFT+\.Using the key to the left of 1 with ALT GR I get ¦ (which shows a broken line on screen but a single line on the keyboard).
Go figure!