We introduce a defect layer between two metal layers at middle of a one-dimensional photonic crystal. This structure is used to study the tunable characteristic of proposed structure. The transmission, reflection and absorption are calculated using transfer matrix method. The influence of metal layer width, incident angle and defect layer refractive index has been investigated to analyze the tunable characteristic. The shifting of defect mode is improved with metal layer width and incident angle too. Due to metal layer, the localized surface plasmon wave causes decrease in transmission and appearance of absorption. For TE and TM polarization, the localized defect mode shows a blue shift with incident angle, but the transmission peak reduces with incident angle in TE polarization. Therefore, the proposed structure can be used as optical sensor with high sensitivity for malaria diagnosis compared with previous result.