Reading from voltage from GPIO pin WB_IO1

Using Arduino on Windows to program my RAK4630 on a RAK5005-0 base board, I can’t get a voltage reading on the GPIO pin WB_IO1. Serial monitor just prints 0 over and over again. Earlier, I was able to program HIGH and LOW voltage OUTPUTto the pin, then when I measured the voltage of the pin using a multimeter and I able to get a pulsing voltage, but I can’t read voltages from the pin as INPUT. This is my code I am uploading to the wisblock kit and I am delivering 0.3V to the pin WB_IO1:
#include <Arduino.h>
#include <SX126x-RAK4630.h>
#include <SPI.h>
#include <Wire.h>

void setup() {
// put your setup code here, to run once:
pinMode(WB_IO1, INPUT);

void loop() {
// put your main code here, to run repeatedly:
int val = analogRead(WB_IO1); // read the input pin

WB_01 is GPIO P0.17 of the nRF52840 and it is not listed as an analog input.

Analog inputs on the nRF52840 and the pin names in RAK4631 Arduino

nRF52840 RAK4631
P0.02 NA
P0.04 WB_IO4
P0.05 WB_A0 (Battery voltage
P0.28 NA
P0.29 SPI_CS
P0.31 WB_A1