Catalysis of the reaction: N(6)-(dimethylallyl)adenosine 5'-phosphate + H2O = N(6)-dimethylallyladenine + D-ribose 5-phosphate.
N6-(Delta2-isopentenyl)-adenosine 5\'-monophosphate phosphoribohydrolase activity