Objective. Advancements in data science and assistive technologies have made invasive brain-computer interfaces (iBCIs) increasingly viable for enhancing the quality of life in physically disabled individuals. Intracortical microelectrode implants are a common choice for such a communication system due to their fine temporal and spatial resolution. The small size of these implants makes the implantation plan critical for the successful exfiltration of information, particularly when targeting representations of task goals that lack robust anatomical correlates. Approach. Working memory processes including encoding, retrieval, and maintenance are observed in many areas of the brain. Using human electrocorticography (ECoG) recordings during a working memory experiment, we provide proof that it is possible to localize cognitive activity associated with the task and to identify key locations involved with executive memory functions. Results. From the analysis, we could propose an optimal iBCI implant location with the desired features. The general approach is not limited to working memory but could also be used to map other goal-encoding factors such as movement intentions, decision-making, and visual-spatial attention. Significance. Deciphering the intended action of a BCI user is a complex challenge that involves the extraction and integration of cognitive factors such as movement planning, working memory, visual-spatial attention, and the decision state. Examining field potentials from ECoG electrodes while participants engaged in tailored cognitive tasks can pinpoint location with valuable information related to anticipated actions. This manuscript demonstrates the feasibility of identifying electrodes involved in cognitive activity related to working memory during user engagement in the NBack task. Devoting time in meticulous preparation to identify the optimal brain regions for BCI implant locations will increase the likelihood of rich signal outcomes, thereby improving the overall BCI user experience.