In this study, inspired by the dendrites of biological neurons, we propose an efficient and lightweight SNN (NSPDI-SNN) that utilizes nonlinear pruning and dendrite integration. This method introduces nonlinear dendrite integration (NDI) to enhance the spatiotemporal information representation of neurons and a novel nonlinear synaptic pruning (NSP) method to achieve high sparsity in the SNN. We evaluate NSPDI-SNN on benchmark datasets such as DVS128 Gesture, CIFAR10-DVS, and CIFAR10, as well as on speech recognition and reinforcement learning-based maze navigation tasks. In all tasks, we achieve high sparsity with minimal performance degradation. In particular, we achieve the best results on the event stream dataset, and synaptic information transfer efficiency significantly improves as sparsity increases.