An undoped organic small-molecule 2-(4-tert-butylphenyl)-5-(4-biphenylyl)-1,3,4-oxadiazole (PBD) and a kind of nanocomposite blending poly(methyl methacrylate) (PMMA) into PBD are employed to implement bistable resistive switching. For the bistable resistive switching indium tin oxide (ITO)/PBD/Al, its ON/OFF current ratio can touch 6. What is more, the ON/OFF current ratio, approaching to 104, is available due to the storage layer PBD:PMMA with the chemical composition 1:1 in the bistable resistive switching ITO/PBD:PMMA/Al. The capacity, data retention of more than 1 year and endurance performance (>104 cycles) of ITO/PBD:PMMA(1:1)/Al, exhibits better stability and reliability of the samples, which underpins the technique and application of organic nonvolatile memory.